<template>
  <div class="like">
    <van-tabs v-model="active" swipeable color="#FDC92E">
      <van-tab v-for="index in list" :title="index" :key="index">
        <div class="card"></div>
      </van-tab>
    </van-tabs>
  </div>
</template>

<script>
export default {
  data() {
    return {
      active: 0,
      list: ["菜谱", "笔记"],
    };
  },
};
</script>

<style lang="less" scoped>
</style>